from .base import *

__all__ = ['WeiboItem']


# 微博
class WeiboItem(BaseItem):
    item_type = 'weibo'                 # 微博
    attachImgs = scrapy.Field()         # 微博图片
    attachVideos = scrapy.Field()       # 微博视频
    forwardNum = scrapy.Field()         # 转发数
    praiseNum = scrapy.Field()          # 点赞数
    commentNum = scrapy.Field()         # 评论数
    uid = scrapy.Field()                # 用户ID
    parentId = scrapy.Field()           # 转发uuid
    sourceParentId = scrapy.Field()     # 源转发uuid
    retweetContent = scrapy.Field()     # 转发内容

    def __init__(self):
        super().__init__()
        self['type'] = 'weibo'